package com.example.footballsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.footballsystem.entity.Master;
import com.example.footballsystem.entity.masterDairy;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MasterDairyMapper extends BaseMapper<Master> {
    @Insert("insert into master_dairy(Master_name, Master_account, login_time) values (#{master.username},#{master.account},#{logintime})")
    public Boolean addMasterDairy(masterDairy dairy);
}
